
var headerbgur_setInterval;
function headerbguraction() {
    var nowheight = parseInt(document.getElementById('header_bgur').style.height)+1;
    var afterheight = nowheight.toString() + "em";
    //console.log(afterheight);
    Visual.style(Visual.el('#header_bgur'), {//置零
        height: afterheight,
        overflow:'hidden',
    });
    if (nowheight >= 7.1) {
        clearInterval(headerbgur_setInterval);
    }
}
Visual.el('#header_svg').onclick = function () {
    //console.log(Visual.el('#header_bgur').className);
    if(Visual.el('#header_bgur').getAttribute("class")=="header-bgur header-bgur-none"){
        Visual.el('#header_bgur').setAttribute('class',"header-bgur header-bgur-block");         
    }else{
        Visual.el('#header_bgur').setAttribute('class',"header-bgur header-bgur-none"); 
    }
    Visual.style(Visual.el('#header_bgur'), {//置零
        height: '0em',
        overflow:'hidden',
    });
    headerbgur_setInterval = setInterval("headerbguraction()", 10);
}
Visual.el('#content').onclick=function(){
    Visual.el('#header_bgur').setAttribute('class',"header-bgur header-bgur-none"); 
}